// 示例：动态加载内容
document.addEventListener("DOMContentLoaded", function () {
    console.log("网站加载完成！");

    // 示例：点击事件
    const cards = document.querySelectorAll(".card");
    cards.forEach(card => {
        card.addEventListener("click", () => {
            alert("你点击了：" + card.querySelector(".card-title").innerText);
        });
    });
});